{% set menu = appbuilder.menu %}
{% set languages = appbuilder.languages %}
{% set WARNING_MSG = appbuilder.app.config.get('WARNING_MSG') %}

<div class="navbar navbar-static-top {{menu.extra_classes}}" role="navigation" style="background-color: #2c8cc6; border:0px"> 
  <div class="container{{ '-fluid' if not navbar_container else '' }}">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand"  style="padding: 0">
        <img
          src="{{ appbuilder.app_icon }}"
          alt="{{ appbuilder.app_name }}"
          style="width: 140px;
                height: 40px;
                margin-top: 7px;
                margin-left: 10px;"
        />
      </a>
    </div>
    <div class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        {% if WARNING_MSG %}
          <li class="alert alert-danger">
            {{ WARNING_MSG | safe }}
          </li>
        {% endif %}
        {% include 'appbuilder/navbar_menu.html' %}
      </ul>
      <ul class="nav navbar-nav navbar-right">
        {% include 'appbuilder/navbar_right.html' %}
      </ul>
    </div>
  </div>
</div>

